 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
|
 |
Pointers
(Cont.)
|
|
Pascal C/C++
|
|
|
|
|
 |
 |
 |
type
|
|
|
stuptr = ^node;
|
|
var
|
|
|
first: stuptr;
|
|
|
|
 |
 |
typedef
|
|
|
student *stuptr;
|
|
stuptr first;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
 |
typedef
|
|
struct student *stuptr;
|
|
stuptr first;
|
|
|
|
|
|
 |
|
|
|
 |
NOTE: In C, which form is used depends on
whether the
|
type student was declared
using typedef or not.
|
|
|
|
|